package com.aionengine.gameserver.model.globaldrop;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "drop_level")
public class GlobalDrop {

    @XmlElement(name = "globaldropitem")
    protected List<GlobalDropList> globalDropList;
    @XmlAttribute
    protected int level;

    public List<GlobalDropList> getGlobalDropList() {
        if (globalDropList == null) {
            globalDropList = new ArrayList<GlobalDropList>();
        }
        return this.globalDropList;
    }

    public int getLevel() {
        return this.level;
    }
}
